import { observer } from "mobx-react";
import styled from 'styled-components';

const Total = styled.div`
  margin-top: 6px;margin-bottom:6px;
  font-size:16px;
`
export const TodoTotalView = observer((props: any) => (
  <Total>
    {props.store.pendingCount} 个未完成，{props.store.completedCount} 个已完成
  </Total>
));